
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title class="systemTitle"></title>
<!-- Tell the browser to be responsive to screen width -->
<meta
	content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"
	name="viewport">
<link rel="stylesheet" href="${ctx}webjars/static/plugins/bootstrap/css/bootstrap.min.css">
<link rel="stylesheet"
	href="${ctx}webjars/static/plugins/font-awesome/css/font-awesome.min.css">
<link rel="stylesheet" href="${ctx}webjars/static/themes/AdminLTE/css/AdminLTE.min.css">
<!-- AdminLTE Skins. Choose a skin from the css/skins
       folder instead of downloading all of them to reduce the load. -->
<link rel="stylesheet"
	href="${ctx}webjars/static/themes/AdminLTE/css/skins/_all-skins.min.css">
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
  <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
  <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
  <![endif]-->
</head>
<body class="hold-transition skin-blue sidebar-mini">
	<div class="wrapper" id="myapp">

		<header class="main-header">
			<!-- Logo -->
			<a href="#" class="logo"> <!-- mini logo for sidebar mini 50x50 pixels -->
				<span class="logo-mini">管理</span> <!-- logo for regular state and mobile devices -->
				<span class="logo-lg systemTitle" ></span>
			</a>
			<!-- Header Navbar: style can be found in header.less -->
			<nav class="navbar navbar-static-top">
				<!-- Sidebar toggle button-->
				<a href="#" class="sidebar-toggle" data-toggle="push-menu"
					role="button"> <span class="sr-only">Toggle navigation</span> <span
					class="icon-bar"></span> <span class="icon-bar"></span> <span
					class="icon-bar"></span>
				</a>

				<div class="navbar-custom-menu">
					<ul class="nav navbar-nav">
						<!-- Messages: style can be found in dropdown.less-->
						<li class="dropdown messages-menu"><a href="#"
							class="dropdown-toggle" data-toggle="dropdown"> <i
								class="fa fa-envelope-o"></i> <span class="label label-success">0</span>
						</a>
							<ul class="dropdown-menu">
								<li class="header">消息列表</li>
								<li>
									<!-- inner menu: contains the actual data -->
									<ul class="menu">
										<li>
											<!-- start message --> <a href="#">
												<h4>暂未收到消息</h4>
										</a>
										</li>
										<!-- end message -->
									</ul>
								</li>
								<li class="footer"><a href="#">查看所有消息</a></li>
							</ul></li>
						<!-- Notifications: style can be found in dropdown.less -->
						<li class="dropdown notifications-menu"><a href="#"
							class="dropdown-toggle" data-toggle="dropdown"> <i
								class="fa fa-bell-o"></i> <span class="label label-warning">0</span>
						</a>
							<ul class="dropdown-menu">
								<li class="header">通知信息</li>
								<li>
									<!-- inner menu: contains the actual data -->
									<ul class="menu">
										<li><a href="#"> 暂无信息</a></li>
									</ul>
								</li>
								<li class="footer"><a href="#">查看所有</a></li>
							</ul></li>

						<!-- User Account: style can be found in dropdown.less -->
						<li class="dropdown user user-menu"><a href="#"
							class="dropdown-toggle" data-toggle="dropdown"> <img
								src="${ctx}webjars/static/images/photo.png" class="user-image"
								alt="User Image"> <span class="hidden-xs">&nbsp;{{user.username}}</span>
						</a>
							<ul class="dropdown-menu">
								<!-- User image -->
								<li class="user-header"><img src="${ctx}webjars/static/images/photo.png"
									class="img-circle" alt="User Image">
									<p>欢迎您登录 - {{user.username}}</p></li>
								<li role="separator" class="divider"></li>
								<li><a href="#"><i class="fa fa-user"></i> 个人中心 </a></li>
								<li><a href="javascript:;" @click="updatePassword"><i
										class="fa fa-lock"></i> &nbsp;修改密码</a></li>
								<li role="separator" class="divider"></li>
								<li><a href="${ctx}logout"><i class="fa fa-power-off"></i>
										退出登录 </a></li>
							</ul></li>
						<!-- loginout -->
						<li class="dropdown notifications-menu"><a href="${ctx}logout"><i
								class="fa fa-power-off"></i> 退出 </a></li>
						<!-- Control Sidebar Toggle Button -->

					</ul>
				</div>
			</nav>
		</header>
		<!-- Left side column. contains the logo and sidebar -->
		<aside class="main-sidebar">
			<!-- sidebar: style can be found in sidebar.less -->
			<section class="sidebar">
				<!-- Sidebar user panel -->
				<div class="user-panel">
					<div class="pull-left image">
						<img src="${ctx}webjars/static/images/photo.png" class="img-circle"
							alt="User Image">
					</div>
					<div class="pull-left info">
						<p>&nbsp;{{user.username}}</p>
						<a href="#"><i class="fa fa-circle text-success"></i> 在线</a>
					</div>
				</div>
				<!-- search form -->

				<!-- /.search form -->
				<!-- sidebar menu: : style can be found in sidebar.less -->


				<!-- sidebar menu: : style can be found in sidebar.less -->
				<ul class="sidebar-menu" data-widget="tree">
					<li class="header">导航菜单</li>

					<!-- vue生成的菜单 -->
					<menu-item :item="item" v-for="item in menuList"></menu-item>
				</ul>
			</section>
			<!-- /.sidebar -->
		</aside>

		<!-- Content Wrapper. Contains page content -->
		<div class="content-wrapper">
			<!-- Content Header (Page header) -->
			<section class="content-header">
				<h1>
					{{navTitle}} <small>&nbsp; </small>
				</h1>
			</section>

			<!-- Main content -->
			<section class="content">
				<iframe scrolling="yes" frameborder="0"
					style="width: 100%; min-height: 200px; overflow: visible; background: #fff;"
					:src="main"></iframe>

			</section>
			<!-- /.content -->
		</div>
		<!-- /.content-wrapper -->

		<footer class="main-footer">
			<div class="pull-right hidden-xs">
				<b>Version</b> 2.0.0
			</div>
			<strong class="copyright">Copyright &copy; 2018 IT.</strong> All rights
			reserved.
		</footer>


		<!-- 修改密码 -->
		<div id="passwordLayer" style="display: none;">
			<form class="form-horizontal">
				<div class="form-group">
					<div class="form-group">
						<div class="col-sm-2 control-label">账号</div>
						<span class="label label-success" style="vertical-align: bottom;">{{user.username}}</span>
					</div>
					<div class="form-group">
						<div class="col-sm-2 control-label">原密码</div>
						<div class="col-sm-10">
							<input type="password" class="form-control" v-model="password"
								placeholder="原密码" />
						</div>
					</div>
					<div class="form-group">
						<div class="col-sm-2 control-label">新密码</div>
						<div class="col-sm-10">
							<input type="text" class="form-control" v-model="newPassword"
								placeholder="新密码" />
						</div>
					</div>
				</div>
			</form>
		</div>

	</div>
	<!-- ./wrapper -->



	<script src="${ctx}webjars/static/plugins/jquery/jquery.min.js"></script>
	<script src="${ctx}webjars/static/plugins/vue/vue.min.js"></script>
	<script src="${ctx}webjars/static/plugins/vue/router.js"></script>
	<script src="${ctx}webjars/static/plugins/bootstrap/js/bootstrap.min.js"></script>
	<script src="${ctx}webjars/static/themes/AdminLTE/js/adminlte.min.js"></script>

	<script src="${ctx}webjars/static/plugins/layer/layer.js"></script>
	<script src="${ctx}webjars/static/js/common.js"></script>
	<script src="${ctx}webjars/static/js/index.js"></script>
</body>
</html>
